#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;

void sortString(string& str) {
	vector<char> dic;
	for (int i = 0; i < 26; i++) {
		for (int j = 0; j < str.size(); j++) {
			if (str[j] - 'a' == i || str[j] - 'A' == i)
				dic.push_back(str[j]);
		}
	}

	for (int i = 0, j = 0; i < str.size(); i++) {
		if (isalpha(str[i]))
			str[i] = dic[j++];
	}
	cout << str << endl;
}



int main() {
	string str;
	getline(cin, str);
	sortString(str);
}
